<?php require_once('../../core/import.php');?>
<?php User::Permission('DM_SUB_DELETE'); ?>
<?php
    if(!is_numeric($ID=Functions::UrlArgs('id')))
    {
        exit('信息ID不正确');
    }
    else
    {
        if($Data=DB::GetRowByID('dm_subscription',$ID))
        {
            //删除记录
            DB::CExec('delete from dm_subscription where ID='.$ID);
        }

        Functions::JsLocation($_SERVER['HTTP_REFERER']);
    }

?>